package com.neu.Object;

public class Text extends Hero {
    public static void main(String[] args) {
       Hero hero = new Hero();
       hero.name = "盖伦";
       ADHero h1 = new ADHero();
       APHero h2 = new APHero();
       ADAPHero h3 = new ADAPHero(); 
       hero.kill(h1);
       hero.kill(h2);
       hero.kill(h3);
    }
    }            